//
//  CIFilterEffect.h
//  didacar
//
//  Created by 度周末网络-王腾 on 15/12/7.
//  Copyright © 2015年 dzmmac. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

typedef void (^CIFilterBlock)(UIImage *QRCodeImage);


@interface CIFilterEffect : NSObject

@property (nonatomic , copy) CIFilterBlock resultBlock;

@property (nonatomic, strong, readonly) UIImage *filterImage;
- (instancetype)initWithImage:(UIImage *)image filterName:(NSString *)name;

@property (nonatomic, strong, readonly) UIImage *QRCodeImage;
- (void)initWithQRCodeString:(NSString *)string width:(CGFloat)width reslutBlock:(CIFilterBlock)resultBlock;

@end
